<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }
    .con{
      width: 250px;
      display: flex;
      border: 1px solid black; 
    }
    label{
      flex: 1;
      background-color: #888888;
      text-align: center;
    }
    input{
      border:none;
      outline: none;
    }
    
  </style>
</head>
<body>
  <div class="con">
  <label for="">百度</label>
  <input type="text">
  <label for="">go</label>
</div>
</body>
</html>